import { Sphere, Vector3, Plane } from "@script/index";

export default class IntersectResult {
  static noHit = new IntersectResult();

  public geometry: Plane | Sphere;
  public distance: number;
  public position: Vector3;
  public normal: Vector3;

  constructor() {
    this.geometry = null;
    this.distance = 0;
    this.position = Vector3.zero;
    this.normal = Vector3.zero;
  }
}